﻿namespace TowerCraneMonitorClient.NetClient
{
    /// <summary>
    /// 运行数据接口返回结果
    /// </summary>
    /// <typeparam name="TData"></typeparam>
    public abstract class Acknowledge<TData>
    {
        /// <summary>
        /// 返回代码。0：正常，其他为异常
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 返回说明。平台返回的处理结果描述
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 预留
        /// </summary>
        public TData Data { get; set; }
    }
}
